<!--#include file="Config.asp" -->
<!--#include file="HeadTop.asp"-->
<%
intID=int(Request("id"))
set rs=server.createobject("adodb.recordset")
sql="select * from Plan_target where userid="&session("AnyPIM_userID")&" and T_id="&IntID
%>
<table class="table table-condensed">
<TR bgcolor='#CCFFCC'>
	<TD>标题</TD>
	<TD>开始时间</TD>
	<TD>结束时间</TD>
</TR>
<%
rs.open sql,conn,1,1
for r=1 to rs.recordcount
%>
<tr style="cursor:hand" onmouseover="this.bgColor='#f6f6f6';" onmouseout="this.bgColor='';" >
	<TD><%=rs("T_Title")%><BR><FONT COLOR="#CC0000"><%=rs("T_Content")%></FONT></TD>
	<TD><%=rs("T_begin_time")%></TD>
	<TD><%=rs("T_End_time")%></TD>
</tr>
<%
rs.moveNext
next
rs.close
%>
</TABLE>

<table class="table table-condensed">
<%
sql="select * from Plan_calendar where userid="&session("AnyPIM_userID")&" and calendarMPlan="&IntID&" order by calendarFinType"
rs.open sql,conn,1,1
for r=1 to rs.recordcount
%>
<TR bgColor='#FFFFFF' style="cursor:hand" onmouseover="this.bgColor='#FFCCFF';" onmouseout="this.bgColor='';" title="<%=RS("calendarText")%>">
<TD><%=r%>.</TD>
<TD><%=RS("calendarDate")%></TD>
<TD><%=RS("calendartitle")%></TD>
<TD><%=Trim(RS("calendarFlag"))%>.<%=ShowFlagname(Trim(RS("calendarFlag")))%></TD>
<TD><%=RS("calendarFinType")*10%>%</TD>
<TD><A HREF="EventEdit.asp?ID=<%=int(RS("id"))%>"><B>修改|完成</B></A></TD>
</TR>
<TR>
<%
rs.moveNext
next
rs.close
%>
</TABLE>


<!-- #include file="foot.asp" -->
